package com.shangze.test.api;

import com.shangze.test.bean.FriendBean;
import com.shangze.test.bean.base.BaseResponse;
import java.util.List;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by yjm on 2017/10/16.
 * 接口储藏类
 */

public interface API {
    // TODO: 2017/11/22   好友模块
    @FormUrlEncoded
    @POST("Friend/getFirendLists")
    Observable<BaseResponse<List<FriendBean>>> getFriends(@Field("uid") int uid);

}
